package at.ac.univie.ise.generator;

import java.util.LinkedList;
import java.util.List;

import at.ac.univie.ise.schema.tables.records.CustomerRecord;
import at.ac.univie.ise.schema.tables.records.LicenceRecord;
import at.ac.univie.ise.schema.tables.records.PersonRecord;
import at.ac.univie.ise.schema.tables.records.WebuserRecord;

/**
 * Contains the different records that make up a person
 * @author Chris Borckholder
 */
public class PersonContainer {
	
	private PersonRecord person;
	private CustomerRecord customer;
	private WebuserRecord webuser;
	private List<LicenceRecord> licences;
	
	public PersonContainer() {
		licences = new LinkedList<>();
	}
	
	/**
	 * @return the person
	 */
	public PersonRecord getPerson() {
		return person;
	}
	/**
	 * @return the customer
	 */
	public CustomerRecord getCustomer() {
		return customer;
	}
	/**
	 * @return the webuser
	 */
	public WebuserRecord getWebuser() {
		return webuser;
	}
	/**
	 * @param person the person to set
	 */
	public void setPerson(PersonRecord person) {
		this.person = person;
	}
	/**
	 * @param customer the customer to set
	 */
	public void setCustomer(CustomerRecord customer) {
		this.customer = customer;
	}
	/**
	 * @param webuser the webuser to set
	 */
	public void setWebuser(WebuserRecord webuser) {
		this.webuser = webuser;
	}

	/**
	 * @return the licences
	 */
	public List<LicenceRecord> getLicences() {
		return licences;
	}

	/**
	 * @param licences the licences to set
	 */
	public void setLicences(List<LicenceRecord> licences) {
		this.licences = licences;
	}
}
